package admin

//AdminUser实体类
type AdminApp struct {
	PId      int    `json:"pId"              gorm:"column:f_id;primaryKey;autoIncrement;description:应用ID"`
	PState   int    `json:"pState"           gorm:"index:idx_app,default:1;column:f_state;description:状态1正常 0禁用"`
	PName    string `json:"pName"            gorm:"type:varchar(50);column:f_name;description:名称"`
	PNameMd5 string `json:"-"                gorm:"type:char(32);column:f_name_md5;unique;comment:名称md5"`
	PDesc    string `json:"pDesc"            gorm:"type:varchar(60);column:f_desc;description:描述"`
	PIcon    string `json:"pIcon"            gorm:"type:varchar(30);column:f_icon;description:图标"`
}
